@charset "utf-8";
@import "common/reset";
@function p($px){
    @return $px/2+px
    
}

header{
    width: 100%;
    height: p(88);
    background: #0f0f0f;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .last{
        width: p(103);
        height: p(43);
        margin-left: p(20);
        display: flex;
        .last-img{
            width: p(23);
            height: p(43);
            overflow: hidden;
            img{
                width: 100%;
            }
        }
        p{
            font-size: p(28);
            line-height: p(28);
            color: #fff;
            margin-top: p(5);
            margin-left: p(16);
        }
    }
    h1{
        font-size: p(36);
        color: #fff;
    }
    .dian{
        width: p(6);
        height: p(34);
        overflow: hidden;
        margin-right: p(20);
        img{
            width: 100%;
        }
    }
}
//主体
section{
    //我的模板
   .muban_more{
       background: #fff;
       display: flex;
       width: 100%;
        justify-content:space-between;
        border-bottom: 1px solid  #dddddd;
        //模板左侧
        .muban{
            height: 140px;
            font-size: 0;
            display: flex;
            flex-direction: column;
            h2{
                height: p(52);
                font-size: p(28);
                font-weight: normal;
                line-height: p(52);
                color: #5c5c5c;
                margin-left: p(-10);
                
                border-bottom:1px solid #dddddd;
            }
            //戒指图片
           .photo{
               display: flex;
               width: p(544);
               justify-content: space-around;
               align-items: flex-end;
               height: p(190);
//             margin-top: p(11);
               a{
                   width: p(174);
                   height: p(182);
                   img{
                       width: 100%;
                   }
               }
           }
           //底部日期
           p{
                   height: p(36);
                   font-size: p(20);
                   color: #a5a5a5;
                   line-height: p(48);
                   align-items: flex-end;
               }
        }
        //右侧
       .more{
           display: flex;
           width: p(86);
           background: #e7e7e7;
           height: 140px;
           font-size: p(80);
            
            justify-content: center;
            align-items: center;
            color: #888;
       }
   }
   //新建帮购
   .XJBG{
       width: 100%;
       height: p(80);
       text-align: center;
       line-height: p(80);
       background: #5fa1df;
       .a1{
           color: #fff;
           font-size: p(30);
           display: flex;
           height: p(80);
           justify-content: center;
           align-items: center;
           .img{
               width: p(29);
               height: p(29);
               align-self: flex-start;
               margin-right: p(18);
               img{
                   width: 100%; 
               }
           }
           
      
       }
   }
}
//375分辨率下，情况
@media only screen and (max-width:p(750)) {
    section{
        .muban_more{
            .muban{
                width: p(580);
                .photo{
                    width: 100%;
                    justify-content:space-aroundn;
                    align-items: flex-end;
                }
            }
            .more{
                width: p(150);
            }
        }
    }
}
//414分辨率下布局
@media only screen and (max-width:414px) {
    section{
        .muban_more{
            .muban{
                width: p(650);
                .photo{
                    width: 100%;
                    justify-content:space-around;
                    align-items: flex-end;
                }
            }
            .more{
                width: p(200);
            }
        }
    }
}
